﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Controls;

namespace Models
{
    /// <summary>
    /// 像机分页事件参数
    /// </summary>
    public class CameraPageChangedEventArgs<T> : EventArgs
    {
        private PageChangedEventArgs _PageArgs;
        public PageChangedEventArgs PageArgs
        {
            get { return _PageArgs; }
            set { _PageArgs = value; }
        }

        private TreeNodeData<T> _NodeData;
        public TreeNodeData<T> NodeData
        {
            get { return _NodeData; }
            set { _NodeData = value; }
        }

        public CameraPageChangedEventArgs(TreeNodeData<T> nodeData, PageChangedEventArgs pageArgs)
        {
            _NodeData = nodeData;
            _PageArgs = pageArgs;
        }
    }
}
